package com.bw.BaseCore.utils

import com.google.gson.Gson
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.RequestBody

object MapToJson {
    fun mapToJson(map: Map<String,Any>) : RequestBody{
        return RequestBody.create("application/json".toMediaType(),Gson().toJson(map))
    }
}